package cn.vcjf.washcar.api.service.entity;

import cn.vcjf.washcar.common.web.PageModel;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 服务种类信息表
 * </p>
 *
 * @author zhengzihang
 * @since 2018-07-20
 */
@TableName("server_info")
public class  ServerInfo extends PageModel {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 服务名称
     */
    private String serverName;

    /**
     * 服务价格
     */
    private BigDecimal price;
    /**
     * 优惠价格
     */
    private BigDecimal discounts;

    /**
     * 服务类型
     */
    private Integer type;

    /**
     * 服务级别排序
     */
    private Integer sort;

    /**
     * 服务开始时间
     */
    private Date begTime;

    /**
     * 服务结束时间
     */
    private Date endTime;

    /**
     * 备注
     */
    private String remakes;

    public BigDecimal getDiscounts() {
        return discounts;
    }

    public void setDiscounts(BigDecimal discounts) {
        this.discounts = discounts;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getServerName() {
        return serverName;
    }

    public void setServerName(String serverName) {
        this.serverName = serverName;
    }
    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
    public Date getBegTime() {
        return begTime;
    }

    public void setBegTime(Date begTime) {
        this.begTime = begTime;
    }
    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }
    public String getRemakes() {
        return remakes;
    }

    public void setRemakes(String remakes) {
        this.remakes = remakes;
    }

    @Override
    public String toString() {
        return "ServerInfo{" +
        "id=" + id +
        ", serverName=" + serverName +
        ", price=" + price +
        ", type=" + type +
        ", sort=" + sort +
        ", begTime=" + begTime +
        ", endTime=" + endTime +
        ", remakes=" + remakes +
        ", createUser=" + createUser +
        ", createTime=" + createTime +
        ", updateUser=" + updateUser +
        ", updateTime=" + updateTime +
        ", deleteFlag=" + deleteFlag +
        "}";
    }
}
